package com.hc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DiscountType {
    //id
    private int id;
    //商家id
    private int  shopId;
    //名称
    private String name;
    //生效时间
    private Date startTime;
    //失效时间
    private Date endTime;
    //满减规则
    private String rule;
}
